package store

import "fmt"

const WECHAT_SERVER = "wechat_server"

func (s *Redis) GetAccessTokenKey(appid string) string {
	return fmt.Sprintf("%s:access_token:%s", WECHAT_SERVER, appid)
}

func (s *Redis) GetAccessTicketKey(appid string) string {
	return fmt.Sprintf("%s:ticket:%s", WECHAT_SERVER, appid)
}
